import router from '../router/index'

//路由运用
export const goToPage = (name: string) => {
  router.push({ name })
}